// mixin display传参默认值



@mixin display($justify-content:center, $align-items:center, $flex-direction:row) {
  display: flex;
  justify-content: $justify-content;
  align-items: $align-items;
  flex-direction: $flex-direction;
}



// 字体渐变mixin
@mixin text-gradient($color1, $color2) {
  background: linear-gradient(to top, $color1 0%, $color2 100%);
  -webkit-background-clip: text;
  color: transparent;
}

//背景图片 100%
@mixin bkgMaxSize($url) {
  background-image: url($url);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}


//边框圆角
@mixin borderRadius($radius) {
  -webkit-border-radius: $radius;
  -moz-border-radius: $radius;
  -ms-border-radius: $radius;
  -o-border-radius: $radius;
  border-radius: $radius;
}